﻿using System;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SilverAmp.Common;
using SilverAmp.Common.DecoupledEvents;

namespace SilverAmp
{
    public partial class MainView : UserControl
    {
        public MainView()
        {
            // Required to initialize variables
            InitializeComponent();
        }

        private void LayoutRootDrop(object sender, DragEventArgs e)
        {           
            DecoupledEventAggregator.GetInstance().GetEvent<FileDroppedEvent>().Publish(e.Data);
        }
    }
}